.home-container {
  min-height: 100%;
  background-image: url(https://img2.baidu.com/it/u=1287963132,568891644&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=250);
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container {
  width: 870px;
  height: 600px;
  box-shadow: 1px 1px 50px rgb(0 0 0 / 30%);
  background-color: #fff;
}

.left-wrapper {
  width: 600px;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.left-title {
  background-color: rgb(255, 227, 253);
  height: 40px;
  line-height: 40px;
  padding-left: 20px;
  font-size: 18px;
}
.left-title span {
  font-weight: normal;
  font-size: 12px;
}
.left-footer {
  height: 120px;
  border-top: 1px solid #f1f1f1;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.input-container {
  max-height: 100%;
}

.handle-container {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.btn {
  background-color: #ffd7f5;
  width: 68px;
  line-height: 32px;
  color: #666;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
}

.send-btn {
  margin-left: 5px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.arrow-container {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffd7f5;
  width: 31px;
  height: 32px;
  margin-left: 1px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.arrow-container:after {
  content: "";
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #666;
  margin-top: 3px;
}

.right-wrapper {
  flex-grow: 1;
  height: 100%;
  border-left: 1px solid #eee;
  background-color: rgb(255, 227, 253);
}

.select-container {
  position: absolute;
  background-color: #fff;
  bottom: -72px;
  padding: 5px 10px;
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  width: 177px;
  box-shadow: 1px 1px 20px rgb(0 0 0 / 10%);
  display: none;
}

.select-item {
  height: 30px;
  border-bottom: 1px solid #eee;
  line-height: 33px;
  cursor: pointer;
}

.select-item:last-child {
  border-bottom: none;
}

.select-item.on {
  background-color: #e0e3e6;
}

.input-container {
  width: 398px;
  border: none;
  outline: none;
  font-size: 18px;
  color: rgb(51, 51, 51);
  margin: 0px;
  height: 115px;
}

/* 机器人身体部分样式 */

.content-body {
  background-color: #ffeefe;
  height: calc(100% - 160px);
  max-height: calc(100% - 108px);
  overflow-y: scroll;
  padding: 20px;
  box-sizing: border-box;
}

.content-body::-webkit-scrollbar {
  width: 5px;
  height: 13px;
}

.content-body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  border-radius: 5px;
}

.chat-container {
  margin-bottom: 20px;
}

.chat-container > * {
  float: left;
}

.chat-container.avatar-container > * {
  float: right;
}

.chat-container.avatar-container > .chat-txt {
  margin-right: 10px;
  background-color: #fcdef7;
}

.chat-container.avatar-container > .chat-txt:after {
  content: "";
  position: absolute;
  width: 0;
  padding: 0;
  border: 6px solid transparent;
  border-left-color: #fcdef7;
  top: 50%;
  transform: translateY(-50%);
  right: -12px;
}

.chat-container:after {
  content: "";
  display: block;
  clear: both;
}

.chat-txt {
  max-width: 251px;
  padding: 8px;
  box-sizing: border-box;
  background-color: rgb(255, 245, 241);
  border: 1px solid #fffcfc;
  color: #333;
  border-radius: 6px;
  margin-left: 10px;
  position: relative;
}

.chat-container img {
  width: 40px;
  border-radius: 50%;
}

/* 右半部分样式 */

.close {
  height: 35px;
  line-height: 30px;
  font-size: 40px;
  width: 35px;
  border-radius: 50%;
  background-color: #eee;
  color: #888;
  text-align: center;
  float: right;
  margin: 10px;
  cursor: pointer;
}

.user-info {
  margin-top: 50px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  border-bottom: 1px solid #ccc;
  width: 100%;
}

.user-info > img {
  border-radius: 50%;
  margin-right: 10px;
}

.nick-name {
  color: #666;
  font-size: 18px;
  font-weight: bold;
}

.level-container {
  height: 30px;
  line-height: 30px;
  padding-left: 10px;
}

span.label {
  color: #999;
  min-width: 100px;
  display: inline-block;
}
